]> dgit.raspbian.org Git - gnome-shell.git/commit
data: Only unset environment when the service actually ran
authorBenjamin Berg <bberg@redhat.com>
Thu, 20 Aug 2020 08:08:01 +0000 (10:08 +0200)
committerBenjamin Berg <benjamin@sipsolutions.net>
Thu, 20 Aug 2020 08:11:11 +0000 (08:11 +0000)
commit56b6e653175bbf85261712dda96cb99bcd727482
tree51f8afff8b75f83e4ff130e58512e29450eb58aa
parentb80b22e78d3a51f207b6bce1dbec8268c29117e7
data: Only unset environment when the service actually ran

ExecStopPost= is executed even if ExecCondition= fails. As such, we need
to add a guard as we would otherwise clear environment variables on X11
sessions (rendering them utterly useless).

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1418
data/org.gnome.Shell@wayland.service.in